package org.ldh.domain;

import java.io.Serializable;

/**
 * 图书实体类
 */
public class Book implements Serializable {

    private Integer bookId;
    private String bookName;
    private String bookType;
    private String bookPress; //出版社
    private double bookPrice; //图书价格

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType;
    }

    public String getBookPress() {
        return bookPress;
    }

    public void setBookPress(String bookPress) {
        this.bookPress = bookPress;
    }

    public double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(double bookPrice) {
        this.bookPrice = bookPrice;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", bookType='" + bookType + '\'' +
                ", bookPress='" + bookPress + '\'' +
                ", bookPrice=" + bookPrice +
                '}';
    }
}
